<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
.error {
	color: #ff0000;
	font-style: italic;
	font-weight: bold;
	font-size: 13px;
	font-family: 幼圆;
}
</style>
</head>
<body>
	<div style="margin: 0 auto; width: 470px;">
		<sf:form commandName="passwordForm" method="post"
			action="${ pageContext.request.contextPath }/${ roler }/changepassword">
			<table>
				<tr height="60px">
					<td>旧密码：</td>
					<td><sf:password path="oldPassword" /></td>
					<td><sf:errors path="oldPassword" cssClass="error"></sf:errors></td>
				</tr>
				<tr height="60px">
					<td>新密码：</td>
					<td><sf:password path="newPassword1" /></td>
					<td><sf:errors path="newPassword1" cssClass="error"></sf:errors></td>
				</tr>
				<tr height="60px">
					<td>确认密码：</td>
					<td><sf:password path="newPassword2" /></td>
					<td><sf:errors path="newPassword2" cssClass="error"></sf:errors></td>
				</tr>
				<tr>
					<td colspan="2" align="center"><button type="submit">确&nbsp;&nbsp;&nbsp;&nbsp;定</button>&nbsp;&nbsp;&nbsp;&nbsp;
						<button type="button" onclick="window.location.href='${ pageContext.request.contextPath }/${ roler }'">取&nbsp;&nbsp;&nbsp;&nbsp;消</button></td>
				</tr>
			</table>
		</sf:form>
	</div>
</body>
</html>